<%@ page import="java.util.Collection" %>

<html>
  <head>
  </head>
  
  <body>
  
    <%
      if (((Boolean)request.getAttribute("connected")).booleanValue())
      {
    %>
      <%
        Collection<String> testPaths = (Collection)request.getAttribute("testPaths");
	      for (String testPath : testPaths)
	      {
	    %>
        <a href="<%= testPath %>"><%= testPath %></a>
        <br />
      <%
	      }
	    %>
        </br>
        <form action="/query.do" method="POST">
          query :<input type="text" name="query" />
          <br />
          <input type="submit" value="viewquery">
        </form>
        </br>
    <%
      }
      else
      {
    %>
        <a href="authentication.do">login</a>
    <%
      }
    %>
  
  </body>
</html>